package cn.bdqn.domain;

import java.io.Serializable;

/**
 * 车辆实体类
 * @author dkj
 */
public class Vehicle implements Serializable {

    /**
     * id
     */
    private Integer id;

    /**
     * 车牌号
     */
    private String vehicleNumber;

    /**
     * 1集装箱 2货车 3货卡
     */
    private Integer vehicleType;

    /**
     * 1.空闲 2运输
     */
    private Integer vehicleState;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getVehicleNumber() {
        return vehicleNumber;
    }

    public void setVehicleNumber(String vehicleNumber) {
        this.vehicleNumber = vehicleNumber == null ? null : vehicleNumber.trim();
    }

    public Integer getVehicleType() {
        return vehicleType;
    }

    public void setVehicleType(Integer vehicleType) {
        this.vehicleType = vehicleType;
    }

    public Integer getVehicleState() {
        return vehicleState;
    }

    public void setVehicleState(Integer vehicleState) {
        this.vehicleState = vehicleState;
    }

    @Override
    public String toString() {
        return "Vehicle{" +
                "id=" + id +
                ", vehicleNumber='" + vehicleNumber + '\'' +
                ", vehicleType=" + vehicleType +
                ", vehicleState=" + vehicleState +
                '}';
    }


}
